#include "server.h"

grpc::Status ServiceImpl::getMessage(grpc::ServerContext *context, const test::idl::Request *request, test::idl::Response *response)
{
    response->set_database_ip("127.0.0.1");
    response->set_database_port(3306);
    response->set_database_username("root");
    response->set_database_password("123456");
    return ::grpc::Status::OK;
}